home *** CD-ROM | disk | FTP | other *** search
- #pragma once
-
- #include <UModalDialogs.h>
-
- enum
- {
- kHelpTextInFile = 0x8000
- };
-
-
- class CEditorWindow : public StDialogHandler
- {
-
- public:
- enum { class_ID = 'saEd' };
-
- SInt16 mFileRefNum;
- SInt16 mPreferenceRsrcID;
- SInt16 mResListRsrcID;
- UInt16 mFlags;
- SInt16 mStringListRsrcID;
- SInt16 mMainTextRsrcID;
- SInt16 mHelpTextRsrcID;
- SInt16 mAppFileRefRsrcID;
-
- CEditorWindow( SInt16 inFileRefNum, SInt16 inPreferenceRsrcID, SInt16 inResListRsrcID );
- virtual ~CEditorWindow();
-
- SInt32 DoEdit();
-
- void SaveWindowToFile();
- void LoadWindowFromFile();
-
- };
-